package com.example.demo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.entity.Employee;
import com.example.demo.entity.User;

public interface UserService {
    Object selectByUsername(String username);

    void insert(User user);

    void updateById(User user);

    void deleteById(Long id);

    Page<User> selectPage(Integer pageNum, Integer pageSize, String search);

    User loginUser(String username);

    void updatePassowrd(User user);

    int getPassowrd(int id, String password);
}
